#include <bits/stdc++.h>

using namespace std;

const int N = 1e5 + 10;

const double inf = 1e-6;
double a, b, c, d;

int main()
{

    cin>>a>>b>>c>>d;
    for(double i=-100;i<=100;i+=0.001){//枚举根
        double j=i+0.001;
        if((a*i*i*i+b*i*i+c*i+d>=0
            && a*j*j*j+b*j*j+c*j+d<=0)
            ||(a*i*i*i+b*i*i+c*i+d<=0
            &&a*j*j*j+b*j*j+c*j+d>=0)){//判断
    
            printf("%.2lf ",i);
        }
    }
   
   return 0;
}
